package cn.edu.xmut.chen.zhlg.zhlg.user.userenum;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 性别枚举类
 */
public enum SexEnum {
    male("男"),
    female( "女"),
    other("其他");

    @JsonValue
    private final String description;

    SexEnum(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

}